package com.coocaa.typhoon.api.v1.userfile.constant;

import lombok.experimental.UtilityClass;

import java.util.Objects;

/**
 * @author bijiahao
 * @date : 2025/9/20 18:54
 * @description
 */
@UtilityClass
public class UploadTypeConstant {

    public static final Integer USER_FILE = 1;

    public static final Integer USER_SEARCH_FILE = 2;

    public static boolean isSearchFile(Integer type) {
        return Objects.equals(type, USER_SEARCH_FILE);
    }
}
